Optimal. Leaf size=30 \[ -\frac{2 a \cos ^5(c+d x)}{5 d (a \sin (c+d x)+a)^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0581363, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.043, Rules used = {2673} \[ -\frac{2 a \cos ^5(c+d x)}{5 d (a \sin (c+d x)+a)^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2673
Rubi steps
\begin{align*} \int \frac{\cos ^4(c+d x)}{(a+a \sin (c+d x))^{3/2}} \, dx &=-\frac{2 a \cos ^5(c+d x)}{5 d (a+a \sin (c+d x))^{5/2}}\\ \end{align*}
Mathematica [A] time = 0.0539437, size = 42, normalized size = 1.4 \[ -\frac{2 \cos ^5(c+d x) \sqrt{a (\sin (c+d x)+1)}}{5 a^2 d (\sin (c+d x)+1)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.105, size = 47, normalized size = 1.6 \begin{align*}{\frac{ \left ( 2+2\,\sin \left ( dx+c \right ) \right ) \left ( \sin \left ( dx+c \right ) -1 \right ) ^{3}}{5\,ad\cos \left ( dx+c \right ) }{\frac{1}{\sqrt{a+a\sin \left ( dx+c \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos \left (d x + c\right )^{4}}{{\left (a \sin \left (d x + c\right ) + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.20367, size = 257, normalized size = 8.57 \begin{align*} \frac{2 \,{\left (\cos \left (d x + c\right )^{3} + 3 \, \cos \left (d x + c\right )^{2} -{\left (\cos \left (d x + c\right )^{2} - 2 \, \cos \left (d x + c\right ) - 4\right )} \sin \left (d x + c\right ) - 2 \, \cos \left (d x + c\right ) - 4\right )} \sqrt{a \sin \left (d x + c\right ) + a}}{5 \,{\left (a^{2} d \cos \left (d x + c\right ) + a^{2} d \sin \left (d x + c\right ) + a^{2} d\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.0121, size = 269, normalized size = 8.97 \begin{align*} \frac{\frac{{\left ({\left ({\left ({\left (\frac{\mathrm{sgn}\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + 1\right ) \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )}{a^{8}} - \frac{5 \, \mathrm{sgn}\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + 1\right )}{a^{8}}\right )} \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + \frac{10 \, \mathrm{sgn}\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + 1\right )}{a^{8}}\right )} \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) - \frac{10 \, \mathrm{sgn}\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + 1\right )}{a^{8}}\right )} \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + \frac{5 \, \mathrm{sgn}\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + 1\right )}{a^{8}}\right )} \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) - \frac{\mathrm{sgn}\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + 1\right )}{a^{8}}}{{\left (a \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{2} + a\right )}^{\frac{5}{2}}} + \frac{4 \, \sqrt{2} \mathrm{sgn}\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + 1\right )}{a^{\frac{21}{2}}}}{20 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]